Skip to content
This repository has been archived by the owner on Sep 1, 2020. It is now read-only.

Latest commit

 

History

History
10 lines (7 loc) · 282 Bytes

2.1.36 - Server->protect.md

File metadata and controls

10 lines (7 loc) · 282 Bytes

Server->protect

设置客户端连接为保护状态,不被心跳线程切断。

function Server->protect(int $fd, bool $value = 1);
  • $fd 要设置保护状态的客户端连接fd
  • $value 设置的状态,true表示保护状态,false表示不保护